package com.yfp.job.task;

import com.yfp.common.core.domain.R;
import com.yfp.operation.api.RemoteOperationService;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 *
 * @version 1.0
 * @date 2024-11-28 10:01
 */
@Slf4j
@Component("storedTask")
public class StoredTask {

    @Resource
    private RemoteOperationService remoteOperationService;

    /**
     * 储值活动到期失效
     */
    public void storedActivityExpire(){
        log.info("定时任务开始执行：储值活动到期失效");
        R<Void> voidR = remoteOperationService.storedActivityExpire();
    }







}
